@increaseDecreaseTimesheet
Feature: Increase/Decrease Timesheet Management
File name: IncreaseDecreaseTimeSheet.feature
Relative path: features/IncreaseDecreaseTimeSheet.feature
@increaseDecreaseTimesheet
Scenario: TR management user creates and saves increase/decrease timesheet, OPS management approves
Given
TR user logged into the application
And
I navigate to the Increase-Decrease Timesheet page
When
I select landing page details for a rail order with work order date as current date minus 15 days
And
I create a new row in the Increase tab and enter steady, ST, and OT hours
Then
user click on logout button
Then
Ops user logged into the application
When
I navigate to the Increase-Decrease Timesheet page
And
I select landing page details for a rail order with work order date as current date minus 15 days
And
I approve the timesheet entry
Then
verify the report downloaded successfully
Then
Then Reject the timesheet entry
Error: expect(received).toBeTruthy()
Received: false
at Proxy.(anonymous) (C:\SOTA-AUTOMATION\node_modules\@playwright\test\lib\matchers\expect.js:130:37)
at IncreaseDecreaseTimesheetPage.(anonymous) (C:\SOTA-AUTOMATION\src\pages\increaseDecreaseTimesheet.page.ts:355:63)
at step (C:\SOTA-AUTOMATION\src\pages\increaseDecreaseTimesheet.page.ts:33:23)
at Object.next (C:\SOTA-AUTOMATION\src\pages\increaseDecreaseTimesheet.page.ts:14:53)
at fulfilled (C:\SOTA-AUTOMATION\src\pages\increaseDecreaseTimesheet.page.ts:5:58)